package TowDef.generic;

public class Map {
	
	protected Square[][] mapSquare;
	protected String levelName;
	
	public Map()
	{
		mapSquare = new Square[10][10];
		for(int i =0; i<mapSquare.length;i++){
			for(int j = 0; j<mapSquare.length;j++){
				mapSquare[i][j] = new Square();
			}
		}
		levelName = "Test Level";
		for(int x = 0;x<10;x++)
			mapSquare[x][5].setWay(true);
	}
	
	
	public Square[][] getMapSquare() {
		return mapSquare;
	}
	public void setMapSquare(Square[][] mapSquare) {
		this.mapSquare = mapSquare;
	}
	public String getLevelName() {
		return levelName;
	}
	public void setLevelName(String levelName) {
		this.levelName = levelName;
	}
	
	

}
